

#ifndef _SHELL_RESPLAYMONEY_MESSAGE_H_
#define _SHELL_RESPLAYMONEY_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ResPlayMoneyMessage : public Message
{
	public:
	ResPlayMoneyMessage();
	~ResPlayMoneyMessage();
	void reset();
	ResPlayMoneyMessage* clone();
	static const int _ID;
	//(熊猫返回的消费订单)(oppo回调地址)(360回调地址)(PP回调地址)(91回调地址)
	std::string serial;
	//消费金额
	int32 money;
	//我们的订单号
	int64 orderId;
	//玩家id
	int64 playerId;
	//扩展信息(熊猫：app_ext1的值),(UC:callbackInfo的值)(当乐:extInfo)(爱游戏:PAY_PARAMS_KEY_CP_PARAMS的值)(oppo:自定义参数)(百度:extInfo的值)(小米：cpUserInfo)(360:APP_EXT_1)(易接:cbi)(91:Note)
	std::string infos;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
